package com.wust.dao;

import com.wust.entity.Car;
import org.apache.ibatis.annotations.Param;

public interface CarMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Car record);

    int insertSelective(Car record);

    Car selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);

    int selectByMatchNumberAndCode(@Param("matchNumber") String matchNumber, @Param("matchCode") String matchCode);
}